﻿using System;

namespace PMP.Core.Entities;

/// <summary>
/// 历史消息
/// </summary>
public class TbNotification : BaseEntity
{
    public string Token { get; set; } = string.Empty;
    /// <summary>
    /// 目标用户
    /// </summary>
    public int TargetUserId { get; set; }
    /// <summary>
    /// 处理时间
    /// </summary>
    public DateTime? DealTime { get; set; }
    /// <summary>
    /// 项目id
    /// </summary>
    public int ProjectId { get; set; }
    /// <summary>
    /// 人员提级id
    /// </summary>
    public int AccountUpgradeId { get; set; }
    /// <summary>
    /// 消息
    /// </summary>
    public string Message { get; set; } = string.Empty;
    /// <summary>
    /// 是否已处理
    /// </summary>
    public bool IsDeal { get; set; } = false;
}